import Vue from 'vue'
import Router from 'vue-router'
import index from '@/views/index'
import details from '@/views/details'
import login from '@/views/login'
import console from '@/views/console'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/details',
      name: 'details',
      component: details
    }, {
      path: '/login',
      name: 'login',
      component: login
    }, {
      path: '/console',
      name: 'console',
      component: console
    }
  ]
})
